<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@page import="model.Page"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">   
    <title>信息公示</title>  
    <link href="<%=request.getContextPath()%>/css/css/bootstrap.min.css" rel="stylesheet">
    <script src="<%=request.getContextPath()%>/css/css/jquery.js"></script>
	<script src="<%=request.getContextPath()%>/css/js/bootstrap.min.js"></script>
  </head>
  <body>
  <div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<ul class="nav nav-pills">
				<li class="active">
					 <a href="main?type=0">信息公示</a>
				</li>
				<li>
					 <a href="luru">信息录入</a>
				</li>
				
				<li class="dropdown pull-right">
					 <a id="modal-401805" href="#modal-container-401805" role="button" class="btn" data-toggle="modal"><button type="button" class="btn btn-primary btn-sm active">登录</button></a>
			
			<div class="modal fade" id="modal-container-401805" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
					<!--登录表单-->
						<form class="form-horizontal" role="form">
							<div class="form-group">
								 <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
								<div class="col-sm-10">
									<input type="email" class="form-control" rows="2" id="inputEmail3" />
								</div>
							</div>
							<div class="form-group">
								 <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
								<div class="col-sm-10">
									<input type="password" class="form-control" id="inputPassword3" />
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<div class="checkbox">
										 <label><input type="checkbox" />Remember me</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									 <button type="submit" class="btn btn-default">Sign in</button>
								</div>
							</div>
						</form>
					</div>
					
				</div>
				
			</div>
			
				</li>
			</ul>
		</div>
	</div>
</div>
<div class="container">
	<div class="row clearfix">
		<div class="col-md-2 column">
			
		</div>
		<div class="col-md-8 column">
			<div class="btn-group">
				 <button class="btn btn-default">公示等级</button> <button data-toggle="dropdown" class="btn btn-default dropdown-toggle"><span class="caret"></span></button>
				<ul class="dropdown-menu">
					<li>
						 <a href="main?type=2">校级公示</a>
					</li>
					<li >
						 <a href="main?type=3">团体公示</a>
					</li>
					<li >
						<a href="main?type=4">平台公示</a>
					</li>
					<li>
						 <a href="main?type=5">院级公示</a>
					</li>
				</ul>
			</div>
			 
			
			
			<%Page[] list=(Page[])session.getAttribute("list"); %>
			<%for(int i=0;i<5;i++){
				if(list[i]!=null){
					out.print("<div class=\"jumbotron well\"><h2>"+list[i].getTitle()+"</h2><p>"+list[i].getWord()+"</p>");
					out.print("<ul class=\"nav nav-pills\"><li class=\"dropdown pull-right\"><a >"+list[i].getTimea()+"</li></ul></div>");
				}
			}	
			%>
			<div>&nbsp;</div>
			<ul class="pagination">
				<li>
					 <a href="#">Prev</a>
				</li>
				<li>
					 <a href="#">1</a>
				</li>
				<li>
					 <a href="#">2</a>
				</li>
				<li>
					 <a href="#">3</a>
				</li>
				<li>
					 <a href="#">4</a>
				</li>
				<li>
					 <a href="#">5</a>
				</li>
				<li>
					 <a href="#">Next</a>
				</li>
			</ul>
		</div>
		<div class="col-md-2 column">
		</div>
	</div>
</div>
</body>
</html>